﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RPGServer
{
    /// <summary>
    /// 客户端发送的数据的命令
    /// </summary>
    public class RPGNET_CTS_CMD
    {

        /// <summary>
        /// 登录系统
        /// </summary>
        public const byte CMD_LOGIN = 0x01;
        /// <summary>
        /// 退出系统
        /// </summary>
        public const byte CMD_LOGOUT = 0x02;


        #region login command:client->serer

        /// <summary>
        /// 获取角色信息
        /// </summary>
        public const byte CMD_CTS_LOADPLAYEROLE = 0x30;

        #endregion

        #region command:client->server

        public const byte CMD_GAME_REQUEST_ENTERMAP = 0x01;
        public const byte CMD_GAME_REQUEST_LOADMAP = 0x02;

        /// <summary>
        /// 玩家移动信息
        /// <para>command</para>
        /// <para>client to server</para>
        /// <para>move</para>
        /// </summary>
        public const byte CMD_CTS_MOVE = 0x03;

        /// <summary>
        /// 获取地图上所有的单位
        /// </summary>
        public const byte CMD_CTS_GET_ALL_OBJECT = 0x04;

        #endregion
    }
}
